<template>
  <div>
    <div class="top">
      <van-icon name="arrow-left" @click="returnTap" />
      <van-icon name="ellipsis" />
    </div>
    <div class="message">
      <img src="../../../assets/images/logo.png" alt="" />
      <span class="message1">最熟悉的陌生人</span>
    </div>
    <div class="row" style="border:none">
      <div class="rowOne"></div>
      <div class="rowOne">地区：澳大利亚 墨尔本</div>
    </div>
    <div class="text">
      <span style="margin-right:10px" @click="beizhuTap">备注名</span>
      <span style="margin-left:10px" @click="quanxianTap">朋友权限</span>
    </div>
    <div class="padding">
        <div class="padding1">最熟悉的陌生人: 嗨，都是附近呀</div>
        <div class="padding2"  @click="show = true">回复</div>
    </div>
    <div class="col" style="border-bottom: 5px solid #eee" @click="beizhuTap">
      <div class="col1">备注和描述</div>
      <div class="col2"></div>
      <div class="col3"><van-icon name="arrow" /></div>
    </div>
    <div class="col">
      <div class="col1">生活圈</div>
      <div class="colimg">
        <img src="../../../assets/images/logo.png" alt="" />
        <img src="../../../assets/images/logo.png" alt="" />
        <img src="../../../assets/images/logo.png" alt="" />
      </div>
      <div class="col3"><van-icon name="arrow" /></div>
    </div>
    <div class="col">
      <div class="col1">个性签名</div>
      <div class="col2">不求人好感，不予人难堪</div>
      <div class="col3"></div>
    </div>
    <div class="col" style="border-bottom: 5px solid #eee">
      <div class="col1">来源</div>
      <div class="col2">手机通讯录 12345678987</div>
      <div class="col3"></div>
    </div>
    <div class="text" style="color: #546885; border-bottom: 1px solid #eeeeee" @click="addTap">
      <span class="text1">前往验证</span>
    </div>
        <van-overlay
      :show="show"
      @click="show = false"
      style="background: rgba(30, 30, 30, 0.5)"
    >
      <div class="wrapper" @click.stop>
        <div class="block">
          <div class="blocktitle">回复</div>
          <input type="text" class="blockInput" placeholder="请输入内容">
          <div class="blockBotton">
            <div class="blockBotton1"  @click="show = false">取消</div>
             <div class="blockBotton1" style="color:#7D8BA2">发送</div>
          </div>
        </div>
      </div>
    </van-overlay>
  </div>
</template>
<script>
export default {
  data() {
    return {
      show: false,
    };
  },
  methods: {
    returnTap() {
      this.$router.go(-1);
    },
    moreTap() {
      this.$router.push("/msgshejiao");
    },
    beizhuTap() {
      this.$router.push("/msgfriendsbeizhu");
    },
    quanxianTap(){
         this.$router.push("/msgquanxian"); 
    },
        addTap() {
      this.$router.push("/passverif");
    },
  },
};
</script>
<style scoped>
.top {
  height: 60px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 60px;
  position: relative;
}
.message img {
  width: 80px;
}
.message {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.message1 {
  font-size: 22px;
  font-weight: bold;
  margin-top: 10px;
}
.message2 {
  margin-top: 5px;
  color: #808080;
  color: 15px;
}
.row {
  height: 50px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  border-bottom: 1px solid #eeeeee;
  color: #808080;
}
.row1 {
  height: 70px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
}
.rowtwo {
  display: flex;
  align-items: center;
}
.rowtwo {
  color: #9d9d9d;
}
.rowtwo img {
  width: 30px;
  height: 30px;
}
.text {
  height: 40px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #9198A6;
}
.col {
  height: 60px;
  width: 95%;
  padding: 0 5% 0 0;
  display: flex;
  align-items: center;
  font-size: 18px;
  border-bottom: 1px solid #eeeeee;
}
.col1 {
  width: 30%;
  text-align: center;
}
.col2 {
  width: 60%;
  color: #8b8b8b;
}
.col3 {
  width: 10%;
  text-align: right;
}
.colimg {
  width: 50%;
  margin: 0 5%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.colimg img {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  margin-left: 10px;
}
.text1 {
  font-weight: bold;
  margin-left: 5px;
}

.padding{
    width: 80%;
    margin-left: 5%;
    /* height: 50px; */
    padding: 20px 5%;
    background: #F8F8F8;
    border-radius: 5px;
}
.padding2{
    margin-top: 10px;
    font-weight: bold;
    color: #586675;
}
  .wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
  }

  .block {
    width: 80%;
    height: 200px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 1);
  }
  .blocktitle{
    height: 80px;
    font-weight: bold;
    text-align: center;
    line-height: 80px;
    font-size: 20px;
  }
  .blockInput{
      width: 80%;
      margin-left: 10%;
      height: 40px;
      border: none;
      background: #F8F8F8;
      border-radius: 10px;
  }
  .blockBotton{
      height: 60px;
      margin-top: 20px;
      display: flex;
      width: 100%;
      font-size: 18px;
      font-weight: bold;
  }
  .blockBotton1{
      width: 50%;
      text-align: center;
       height: 60px;
       line-height: 60px;
  }
</style>